package com.liujit.upms.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 系统菜单
 * @Author liujun
 * @Date 2021-07-02 14:59:44
 */
@Data
@ApiModel(value = "SysMenu", description = "系统菜单")
@TableName(value = "sys_menu")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysMenu extends BaseModel {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "父id")
    private Long pid;

    @ApiModelProperty(value = "类型：1、目录。2、菜单。")
    private Short type;

    @ApiModelProperty(value = "路由")
    private String path;

    @ApiModelProperty(value = "图标")
    private String icons;

    @ApiModelProperty(value = "URL权限标识")
    private Object urlPermission;

    @ApiModelProperty(value = "序号")
    private Integer seq;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;
}